package com.gruppe1.inu.Model;

import java.util.ArrayList;
import java.util.List;



public enum GroupController {
	INSTANCE;
	
private List<Group> contacts;
	
 GroupController(){
	contacts = new ArrayList<Group>();
	}
	
	public void addGroup(Group group){
		contacts.add(group);
	}
	
	public void removeGroup(Group group){
		contacts.remove(group);
	}
	
	
	public List<Group> getGroups(){
		return contacts;
	}
	
	public int getCount(){
		return contacts.size();
	}
}

